/**
 * 
 */
package com.wolfpire.info.model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wolfpire.system.common.Constants;
import com.wolfpire.system.common.UnCover;

/**
 * 社会服务统计表
 * @author lihd
 *
 */

@Entity
@Table(name = "t_social_ser_count_info")
public class SocialSerCountInfo implements Serializable {
	
	private static final long serialVersionUID = 3128562744686123636L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", unique = true, nullable = false, length = 16)
	private Long id;//主键Id
	
	@Column(name = "year_", length = 5)
	private Integer year; //年度
	
	/**********************社会培训************************/
	@Column(name = "training_center", length = 8)
	private Integer trainingCenter;//与企业共建培训中心（个）
	
	@Column(name = "training_num", length = 8)
	private Integer trainingNum;//承担企业员工与社会培训数（人次）
	
	@Column(name = "skill_identify_work", length = 8)
	private Integer skillIdentifyWork; //校内承担技能鉴定工种（个）
	
	@Column(name = "skill_identify_num", length = 8)
	private Integer skillIdentifyNum; //承担技能鉴定数（人次）
	
	@Column(name = "skill_identify_income", length = 8)
	private String skillIdentifyIncome; //培训与技能鉴定年收入（万元）
	
	/************************技术服务**************************/
	@Column(name = "rd_center", length = 8)
	private Integer rdCenter; //与企业共建研发中心（个）
	
	@Column(name = "innovation_center", length = 8)
	private Integer innovationCenter; //与行业企业共建“应用技术协同创新中心”（个）
	
	@Column(name = "services_item", length = 8)
	private Integer serviceItem; //为企业技术服务项目（项）

	@Column(name = "services_income", length = 8)
	private String servicesIncome; //技术服务年收入(万元)

	@Column(name = "result_item", length = 8)
	private Integer resultItem; //校企对接科技成果项目数（个）
	
	@Column(name = "technology_promotion", length = 8)
	private Integer technologyPromotion;//技术推广（项）

	@Column(name = "create_user_id", length = 16)
	private Long createUserId; //创建用户Id
	
	@Column(name = "create_user_name", length = 50)
	private String createUserName; //创建用户名称
	
	@UnCover
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
	private Date createTime = new Date();//创建时间
	
	@Column(name = "del_flag", length = 1)
	private Integer delFlag = Constants.NORMAL_FLAG;

	public SocialSerCountInfo() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getTrainingCenter() {
		return trainingCenter;
	}

	public void setTrainingCenter(Integer trainingCenter) {
		this.trainingCenter = trainingCenter;
	}

	public Integer getTrainingNum() {
		return trainingNum;
	}

	public void setTrainingNum(Integer trainingNum) {
		this.trainingNum = trainingNum;
	}

	public Integer getSkillIdentifyWork() {
		return skillIdentifyWork;
	}

	public void setSkillIdentifyWork(Integer skillIdentifyWork) {
		this.skillIdentifyWork = skillIdentifyWork;
	}

	public Integer getSkillIdentifyNum() {
		return skillIdentifyNum;
	}

	public void setSkillIdentifyNum(Integer skillIdentifyNum) {
		this.skillIdentifyNum = skillIdentifyNum;
	}

	public String getSkillIdentifyIncome() {
		return skillIdentifyIncome;
	}

	public void setSkillIdentifyIncome(String skillIdentifyIncome) {
		this.skillIdentifyIncome = skillIdentifyIncome;
	}

	public Integer getRdCenter() {
		return rdCenter;
	}

	public void setRdCenter(Integer rdCenter) {
		this.rdCenter = rdCenter;
	}

	public Integer getInnovationCenter() {
		return innovationCenter;
	}

	public void setInnovationCenter(Integer innovationCenter) {
		this.innovationCenter = innovationCenter;
	}

	public Integer getServiceItem() {
		return serviceItem;
	}

	public void setServiceItem(Integer serviceItem) {
		this.serviceItem = serviceItem;
	}

	public String getServicesIncome() {
		return servicesIncome;
	}

	public void setServicesIncome(String servicesIncome) {
		this.servicesIncome = servicesIncome;
	}

	public Integer getResultItem() {
		return resultItem;
	}

	public void setResultItem(Integer resultItem) {
		this.resultItem = resultItem;
	}

	public Integer getTechnologyPromotion() {
		return technologyPromotion;
	}

	public void setTechnologyPromotion(Integer technologyPromotion) {
		this.technologyPromotion = technologyPromotion;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}
	
}
